using TestWebApi.Models;

namespace TestWebApi.IServices;

public interface IUserService
{
    string? GetUserToken<T>(T user) where T : LoginModel;

    bool UserExists(string email, string connectionName);

    bool CreateUser(UserModel userModel, string connectionName);

    bool CheckUserPassword(string email, string password, string connectionName);
}